﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using Avatar.ResumeService;
using Avatar.Common;

/// <summary>
///PersonHelper 的摘要说明
/// </summary>
public static class PersonHelper
{
    /// <summary>
    /// 检测用户是否填写了基本资料和求职意向
    /// </summary>
    public static void BasicInformationJobIntentionCheck()
    {
        var _user = Membership.GetUser();
        if (_user != null)
        {
            try
            {
                ResumeManager.PersonResumeBasicInformationCheck(_user.UserName);
            }
            catch (Exception _e)
            {
                Helper.ShowMassage(_e.Message, "PersonInformation.aspx");
            }

            try
            {
                ResumeManager.PersonResumeJobIntentionCheck(_user.UserName);
            }
            catch (Exception _e)
            {
                Helper.ShowMassage(_e.Message, "PersonJobIntention.aspx");
            }

        }
    }
}
